package com.escope.casemanager.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Administrator
 * 2024/3/19
 */
@Entity
@Table(name = "case_example")
@ApiModel("案例对象")
public class CaseExample extends BaseModel{
    @Column(name = "name")
    @ApiModelProperty("案例名称")
    private String name;
    @Column(name = "type_code")
    @ApiModelProperty("类型编号")
    private String typeCode;
    @Column(name = "industry_code")
    @ApiModelProperty("行业编号")
    private String industryCode;
    @Column(name = "dir_name")
    @ApiModelProperty("案例目录名称")
    private String dirName;
    @Column(name = "index")
    @ApiModelProperty("初始访问路径, 默认/index.html")
    private String index;
    @Column(name = "screen_url")
    @ApiModelProperty("封面图片url")
    private String screenUrl;
    @Column(name = "map_end_time")
    @ApiModelProperty("地图到期日期")
    private Date mapEndTime;
    @Column(name = "secrecy")
    @ApiModelProperty("保密，0不保密 1保密")
    private String secrecy;
    @Column(name = "status")
    @ApiModelProperty("案例状态 0正常 1即将到期 2已过期")
    private String status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getIndustryCode() {
        return industryCode;
    }

    public void setIndustryCode(String industryCode) {
        this.industryCode = industryCode;
    }

    public String getDirName() {
        return dirName;
    }

    public void setDirName(String dirName) {
        this.dirName = dirName;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getScreenUrl() {
        return screenUrl;
    }

    public void setScreenUrl(String screenUrl) {
        this.screenUrl = screenUrl;
    }

    public Date getMapEndTime() {
        return mapEndTime;
    }

    public void setMapEndTime(Date mapEndTime) {
        this.mapEndTime = mapEndTime;
    }

    public String getSecrecy() {
        return secrecy;
    }

    public void setSecrecy(String secrecy) {
        this.secrecy = secrecy;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
